home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 0022-3.564 / dmg-0142 / programs / whatis47.doc < prev   
Text File  |  1997-04-16  |  10KB  |  210 lines

  1.                       WHATIS File Identifier v4.7
  2.                   Copyright (c)1989-91 by Bill Aycock
  3.  
  4.  
  5. WHATIS is a simple program that will identify 86 different types of files. It
  6. is mouse-driven and is easy to use; everything is done from a single dialog
  7. box.  This version will work as either a standalone program or as a desk
  8. accessory... just rename the program file to .PRG or .ACC for whichever you
  9. prefer.  Whatis runs in any resolution on any ST or TT, and uses around 10K of
  10. memory.
  11.  
  12.  
  13. Why use Whatis?  Let's say you're on your local BBS, and download a file
  14. called SIMPSON.ARC.  You fire up your favorite Arc Shell to get the file, and
  15. it says "I don't know how to handle this file!".  Whip out Whatis and take a
  16. look, and you find out the file is really an LHarc archive - the uploader used
  17. the wrong extender!  Just rename the file and you're all set.
  18.  
  19. Another, darker scenario... a virus sneaks into your system and erases your
  20. hard drive's directory.  Fortunately, you have a program that can recover your
  21. files - unfortunately, it names all the files FILE0001, FILE0002, and so on!
  22. Spend a little time with Whatis, and you may not figure out each file's
  23. original name, but at least you'll know which are programs, which are .PI1s,
  24. which are Calamus docs... a real help if you need it.
  25.  
  26.  
  27. Either run Whatis as a program or choose Whatis from the Desk menu, and the
  28. Whatis dialog box will appear.  Under the title bar you'll see three boxes for
  29. a filename and file type, a file's header bytes, and the header byte display
  30. mode. At the bottom of the dialog are three action buttons, marked "choose a
  31. file", "next file", and "exit".
  32.  
  33. To use Whatis, either click on "choose a file" or just hit Return or the
  34. down arrow. You'll be presented with the GEM file selector; use the file
  35. selector to choose your mystery file.  Whatis will read the first few bytes of
  36. the file in question and check if these bytes match a known "signature" of a
  37. specific type of file.  (Note: Whatis needs at least eight bytes to make a
  38. reasonable guess of the file type; if your file is too small, you'll see an
  39. error message and you'll get a chance to choose another file.)
  40.  
  41. Then you'll return to the Whatis box.  The first box under the title bar
  42. will show you the name of the file you chose and the type of file it is.  If
  43. Whatis doesn't recognize the type, it will show up as "text or data".  The
  44. center box, labeled "header bytes", displays the first 11 bytes of your file
  45. in hex.  (If you prefer, you can see the first 34 bytes of the file in ASCII
  46. form.  To switch between modes, click the "ASCII" or "HEX" buttons in the
  47. small box under the header byte display, or press the left or right arrow
  48. keys.  Any zeros in the file header will show up as periods in an ASCII
  49. display.)
  50.  
  51. If you used any wildcards when you selected your mystery file, the "next
  52. file" button at the bottom of the screen will be enabled (not grayed out), and
  53. will be the default button (signified by a thicker border).  To check the next
  54. file that matches your filename pattern, simply click this button or press
  55. Return, or the space bar or down arrow.  (Note: the matching files aren't
  56. displayed in alphabetical order; they appear in the same order as they are on
  57. disk.)
  58.  
  59. From the main dialog you can identify another file, or return to whatever
  60. you were doing by clicking the EXIT button or pressing UNDO or ESCape.
  61. Simple!
  62.  
  63.  
  64. So far, Whatis can recognize these file types:
  65.  
  66.       executable ST programs and ACCs
  67.       ARCed files
  68.       A-CHART (from Kuma/Antic) data files
  69.       BBS Express ST .COM script files
  70.       BLINK palette and library files
  71.       CAD-3D files (versions 1 and 2)
  72.       Calamus .CFN and .CDK files
  73.       Cyber .SEQ animations
  74.       DC Desktop .ICE icon files
  75.       DC Squished files
  76.       Degas pics (.PI? and .PC?)
  77.       .GEM Metafiles
  78.       GIF pictures
  79.       HotWire .HOT and Ledger (.LGR) files
  80.       IFF/Deluxe Paint files
  81.       .IMG files
  82.       LHARC (.LZH) files
  83.       Magic Shadow Archive (.MSA) files
  84.       MichTron BBS .MCL files
  85.       MultiDesk and MultiDesk Deluxe .MLT files
  86.       Music Studio songs (.SNG)
  87.       Neochrome animations
  88.       Neochrome pics (.NEO, 6 varieties)
  89.       NeoDesk Icon files (.NIC)
  90.       Notator song (.SON) and pattern (.PAT) files
  91.       Opus .OPS spreadsheet files
  92.       PageStream documents and fonts
  93.       .PAK files (similar to ARC)
  94.       PinHead data files
  95.       PKZIP .ZIP files (like ARC)
  96.       Prism-Paint brush, picture, mono fill,
  97.          color fill,and palette files
  98.       QuickST II .QFL fill pattern files
  99.       Regent Word II files
  100.       Spectrum pics (SPU, SPC, or SPS)
  101.       Spectrum Sequence (.SPS) files
  102.       ST-Writer files
  103.       Seurat low-rez fill patterns
  104.       TIFF tag image files
  105.       TINY pics (.TNY, 6 varieties)
  106.       Wordflair II documents, record files, and record key files
  107.       WordPerfect documents and macro files
  108.       WordUp files
  109.       Word Writer ST files
  110.       ZOOed files (like ARC)
  111.  
  112. Whatis can also recognize these types of files for the 8-bit Ataris:
  113.  
  114.       ALFCRUNCHed files
  115.       CRUSHed disks
  116.       DISKCOMmed disks (Disk Communicator)
  117.       Super Bootdisk disks
  118.       MASHed disks
  119.       SCRUNCHed disks
  120.       SHRINKed disks
  121.       SAVEd BASIC programs
  122.       EXTENDed BXE (BASIC-XE) programs
  123.       SAVEd MAC/65 code
  124.       8-bit programs (object code)
  125.       DaisyDot fonts
  126.       compressed KOALA pictures
  127.       SpartaDOS X (SDX) external commands
  128.  
  129. It _is_ possible to fool Whatis.  If a data file happens to start with the
  130. same bytes as one of these file types, it will be identified incorrectly.  It
  131. is also difficult to distinguish between certain types of files - for example,
  132. the signatures of low-rez TINY pics, resource files, Neochrome pictures, and
  133. 8-bit Scrunch files look the same, so the identification box simply lists all
  134. of those types.  Some low-rez TINY pics produced with Vidi-ST look identical to
  135. SAVEd BASIC files, so both types are listed in that box.
  136.  
  137.  
  138. NEW FEATURE:
  139. When you run Whatis for the first time, the file selector normally comes up
  140. preset to the root directory of the drive Whatis loaded from.  Several people
  141. have asked for a way to tell Whatis to default to a different path... they
  142. normally download files to a particular folder, and it would be convenient for
  143. Whatis to start out in that folder.  Starting in version 4.7, you can now set a
  144. default path for Whatis to check.  You'll need a program that will let you edit
  145. a program file; CodeHead's Lookit! is perfect for this, and other programs like
  146. MemFile or TinyTool will work too.  Load Whatis into the editor, and look at
  147. offset $25 from the beginning of the program (or $3A9 if you've run Whatis
  148. through DC-Squish).  You'll see the phrase "path=?:" followed by a bunch of
  149. zeros.  Simply change the ? to the drive of your choice, add a valid path if
  150. you wish, and save the file.  Next time you load Whatis, that will be the
  151. starting path for the file selector.  If the path doesn't exist, Whatis will
  152. start out in the root directory of that drive; if the drive itself isn't
  153. present in your system, Whatis will just start out as if you hadn't set up a
  154. default path.  (And coming soon... Superzap, a program that will make zapping
  155. Whatis, or any other program, as simple as possible!)
  156.  
  157.  
  158. Whatis was based on Roy Goldman's Compactor Detector, an 8-bit BASIC program
  159. which identifies files and allows renaming them to have a "standard" extender.
  160. Versions 3.2 and up of Whatis were written in 100% assembler code using HiSoft
  161. DevpacST, and the resource was created using WERCS.  The 8-bit version of
  162. Whatis was written in Action!, from the folks at ICD.
  163.  
  164. I'm always looking for more file types to support in Whatis.  If you know of
  165. a particular type of file that always start with the same few bytes, leave me a
  166. message.  And, of course, if you have any problems, questions, comments, or
  167. suggestions, PLEASE let me know!
  168.  
  169. I hope you find this program useful!  If you use it, please send a card (or
  170. donation! :-) to me at:
  171.  
  172.       Bill Aycock
  173.       2310 North Elm Street
  174.       Greensboro, NC 27408
  175.  
  176.       September 10, 1991
  177.       CompuServe UserID: 76703,4061
  178.       Internet: 76703.4061@compuserve.com
  179.  
  180. ================================
  181. version history:
  182. v4.7: adds ZOO and MultiDesk Deluxe files; allows default drive/path
  183. v4.6: adds Opus spreadsheet files, 3 kinds of Wordflair II files;
  184.       adds command keys; makes Next button default if valid
  185. v4.5: adds DC Squish files (thanks to Mike Vederman!), Neodesk icon files;
  186.       allows wildcards to check a number of files at once
  187. v4.4: adds two Notator file types (thanks to Brian Campbell!)
  188. v4.3: adds DCDesktop icon files (thanks to Jim Ness!); some logic changes
  189. v4.2: adds A-CHART, Seurat, WP macro, HotWire ledgers (thanks Gordon Meyer!)
  190. v4.1: adds PKZIP files, new NEO types, 7 Prism-Paint file types
  191. v4.0: first revision without separate resource file
  192. v3.7: adds IFF files (thanks to Ron Hunt!), QFL files, PageStream fonts
  193. v3.6: adds CAD-3D (thanks to David Ramsden!) and Blink data files
  194. v3.5: adds WordUp & WWST files (thanks to Terry May again!), fsel title,
  195.       Calamus .CFN and .CDK files
  196. v3.4: adds IMG, GEM, MCL, and BBS Express ST files (thanks to Terry May!)
  197.       and more TNY pic varieties (thanks to Jim Ness!), fixes .SPS
  198. v3.3: single version for PRG or ACC, adds hex/ascii display + 3 file types
  199. v3.2: PRG and ACC versions converted into assembler
  200. v3.1: adds Spectrum Sequence files
  201. v3.0: first dialog box version, adds Magic Shadow Archives
  202. v2.2: adds Super Bootdisk disks (thanks to Harold Brewer!)
  203. v2.1: adds TIFF, .PC?, TINY, and Neo animations (thanks to David Ramsden!)
  204. v2.0: first desk accessory version
  205. v1.5: adds WordPerfect document files
  206. v1.4: adds PageStream documents (thanks to James Parry!)
  207. v1.3: corrects Regent Word files, adds *.* for the standard file selector
  208. v1.2: adds one new file type and some error handling
  209. v1.0: first ST version
  210.